package com.hq.hotl.service.impl;

import com.hq.hotl.dao.FloorDao;
import com.hq.hotl.pojo.House;
import com.hq.hotl.service.FloorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FloorServiceImpl implements FloorService {
    @Autowired
    private FloorDao floorDao;
    @Override
    public List<House> floorQueryOne(int floorid) {
        List houses = floorDao.floorQueryOne(floorid);
        return houses;
    }
}
